#app-library {

  [purpose='page-container'] {
    padding: 48px;
  }
  [purpose='page-content'] {
    max-width: 1104px;
    margin-left: auto;
    margin-right: auto;
  }
  [purpose='search-and-headline'] {
    margin-bottom: 64px;
  }
  [purpose='page-title'] {
    max-width: 662px;
    margin-right: 16px;
    h1 {
      margin-bottom: 16px;
      font-size: 32px;
      font-weight: 800;
      line-height: 38.4px; /* 120% */
    }
    p {
      margin-bottom: 0px;
    }
  }
  .header-hidden { // For scrolling the sidebars with the sticky header
    transform: translateY(-81px);
  }
  [purpose='platform-filters'] {
    &.detected-windows {
      flex-direction: row-reverse;
    }
    flex-direction: row;
    border-bottom: 1px solid #E2E4EA;
    margin-bottom: 48px;
    position: sticky;
    top: 81px;
    background: #FFF;
    z-index: 4;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 500ms;
    [purpose='platform-filter'] {
      width: 50%;
      display: flex;
      padding: 16px 40px;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      img {
        height: 20px;
      }
      h1 {
        scroll-margin-top: 120px;
        color: #192147;
        text-align: center;
        margin-bottom: 0px;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 150% */
        white-space: nowrap;
      }
      &.selected {
        border-bottom: 2px solid var(--text-text-brand, #192147);
        h1 {
          font-weight: 700;
        }
      }
      span {
        margin-left: 10px;
      }
    }
  }

  [purpose='request-button'] {
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: #F9FAFC;
    color: #515774;
    text-align: center;
    height: 49px;
    font-size: 14px;
    font-weight: 700;
    line-height: 150%;
    text-decoration: none;
    &:hover {
      text-decoration: none;
    }
  }

  [purpose='app-cards'] {
    column-count: 3;
    margin-right: -8px;
    margin-left: -8px;
    margin-bottom: -8px;
    margin-top: -8px;
    padding-bottom: 32px;
  }

  [purpose='app-card'] {
    margin-right: 8px;
    margin-left: 8px;
    margin-bottom: 8px;
    margin-top: 8px;
    display: flex;
    height: 92px;
    min-width: 30%;
    padding: 16px;
    align-items: flex-start;
    gap: 16px;
    // flex: 1 0 0;
    border-radius: 8px;
    border: 1px solid #E2E4EA;
    background: #FFF;
    box-shadow: none;
    text-decoration: none;
    &:hover {
      text-decoration: none;
      color: unset;
      box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.03);
    }
    &.invisible {
      height: 0px;
      border: none;
    }
    h4 {
      color: var(--text-text-brand, #192147);

      /* Title XS */
      font-family: Inter;
      font-size: 16px;
      font-style: normal;
      font-weight: 800;
      line-height: 19.2px; /* 120% */
      margin-bottom: 0px;
    }
    p {
      color: var(--text-text-primary, #515774);

      /* Body SM (FKA Card text) */
      font-family: Inter;
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 21px; /* 150% */
    }
  }
  [purpose='app-icon'] {
    margin-right: 16px;
    img {
      height: 60px;
    }
  }



  [purpose='feature-cards'] {
    margin-top: 64px;
  }
  [purpose='feature-card'] {
    width: 50%;
    &:first-of-type {
      margin-right: 64px;
    }
    img {
      height: 64px;
      margin-right: 24px;
    }
    h3 {
      color: #192147;
      font-size: 20px;
      font-weight: 800;
      line-height: 120%;
      margin-bottom: 16px;
    }
    p {
      color: #515774;
      font-size: 14px;
      font-weight: 400;
      line-height: 150%;
    }
    [purpose='feature-footnote'] {
      color: #8B8FA2;
    }
  }

  @media (max-width: 991px) {
    [purpose='page-container'] {
      padding: 32px;
    }
    [purpose='app-card'] {
      min-width: 40%;
      &.invisible {
        display: none;
        min-width: 50%;
        border: none;
        height: 0px;
        padding: 0;
        margin: 0;
      }
    }
  }

  @media (max-width: 768px) {
    [purpose='app-search'] {
      margin-top: 32px;
      width: 100%;
      .input-group {
        width: 100%;
      }
    }
    [purpose='app-cards'] {
      padding-bottom: 0px;
    }
    [purpose='feature-cards'] {
      margin-top: 52px;
    }
    [purpose='feature-card'] {
      width: 100%;
      &:first-of-type {
        margin-right: 0px;
        margin-bottom: 48px;
      }
      img {
        height: 64px;
        margin-right: 0px;
        margin-bottom: 16px;
      }
    }
  }

  @media (max-width: 575px) {
    [purpose='page-container'] {
      padding: 32px 24px;
    }
    [purpose='request-button'] {
      margin-top: 16px;
      width: 100%;
    }

  }

}
